package ro.gateway.aida.db;

import java.sql.Connection;

import ro.gateway.aida.srv.IConfigurable;



/**
 * <p>Title: Romanian AIDA</p>
 * <p>Description: :D application</p>
 * <p>Copyright: Copyright (comparator) 2003</p>
 * <p>Company: Romania Development Gateway </p>
 * @author Mihai Popoaei, mihai_popoaei@yahoo.com, smike@intellisource.ro
 * @version 1.0-* @version $Id: IDBPool.java,v 1.1 2004/10/24 23:37:09 mihaipostelnicu Exp $
 */
public interface IDBPool extends IConfigurable
{
      /**
       *
       */
      public Connection getConnection();

      /**
       * Anunt din partea ConnectionWrapperului
       * Conexiunea specificata nu mai este folosita
       *
       * @param connection
       */
      public void connectionAvailable( Connection connection );

      /**
       * Elibereaza toate resursele alocate
       */
      public void release();
}